package com.zhoukai.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @Description 登陆的数据输出对象
 * @Author Mr.ZHOU
 * @Date Created in 2021/12/8 14:06
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LoginBodyDto {
    //  用户名
    @NotBlank(message = "用户名不能为空")   //null ""
    private String username;
    //  密码
    @NotBlank(message = "用户密码不能为空")
    private String password;
    // 验证码
    private String code;


}
